/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.controller;

import java.net.MalformedURLException;
import java.rmi.NotBoundException;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Iterator;
import java.util.List;

/**
 *
 * @author jorge
 */
public interface ChatControllerInterface extends Remote{

   public void connectToServer() throws RemoteException, NotBoundException, MalformedURLException;

   public List<ClientInterface>  getClients() throws RemoteException;

   public int getId() throws RemoteException;

   public void setId(int id) throws RemoteException;

   public String getURL() throws RemoteException;

   public void createRegister() throws RemoteException, MalformedURLException;

}
